package cn.iocoder.yudao.module.trade.controller.admin.storeusers.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 店铺账号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StoreUsersPageReqVO extends PageParam {

    @Schema(description = "店铺ID", example = "16212")
    private Long storeId;

    @Schema(description = "登录账号", example = "张三")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "员工姓名", example = "张三")
    private String nickname;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "角色(1:店长;2:店员)")
    private Integer role;

    @Schema(description = "状态(0:已禁用;1:已启用)", example = "1")
    private Boolean status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}